package com.example.demo.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.time.LocalDate;

@Data
public class Address {
	@Id
	private Integer addressID;
	private Integer userID;
	private String name;
	private String phone;
	private String address;
	private String remarks;
	private Boolean isDefault;
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private LocalDate createTime;
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private LocalDate updateTime;
}
